package tests;
import meal.*;

public class MealTest {
	public static void main(String[] args) {
		Meal meal = new Meal(
				"Brown Rice",
				new Ingredient[] {
					new Ingredient("Rice",5,"cups"),
					new Ingredient("Eggs",3),
			 		//new Ingredient("Salt"),
			 		new Ingredient("Onions",2)
				},
				new Direction[] {
					new Direction("Get small pan"),
			 		new Direction("Put rice in small pan"),
			 		new Direction("Put 5 cups of water into pan"),
			 		new Direction("Etc."),
			 		new Direction("Win!")
				},
				0.5
		);
		System.out.println(meal);

		meal = new Meal();
		meal.setIngredients(new Ingredient[]{ new Ingredient("Rice",3) });

		System.out.println(meal);
	}
}
